import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
//引入路由器
import router from "@/router/index";
import { createPinia } from "pinia";
import emitter from './utils/emitter';

const app = createApp(App)
const pinia = createPinia();

app.use(pinia)
//使用路由器
app.use(router);
app.use(ElementPlus)
app.mount('#app')